
#include "director.h"
#include "builder.h"

#include <iostream>

PersonDirector::PersonDirector(PersonBuilder *builder)
{
    builder_ = builder;
}

PersonDirector::~PersonDirector()
{
}

void PersonDirector::CreatePerson()
{
    builder_->BuildHead();
    builder_->BuildBody();
    builder_->BuildArm();
    builder_->BuildLeg();
}


